-- GENERATED SPELL FOR [Bowyer Randolph] --


function spell0_31052(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(15708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31052', 5267, 1)
end

function Sorts_31052(pUnit, Event)
local choix_sorts_31052 = math.random(0, 0)
if choix_sorts_31052 == 0 then
pUnit:RegisterEvent('spell0_31052', 1, 1)
end
end

function mob31052_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31052', math.random(1500, 3000), 1)
end

function mob31052_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31052_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31052_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31052, 1, 'mob31052_Action')
RegisterUnitEvent(31052, 2, 'mob31052_Leave')
RegisterUnitEvent(31052, 3, 'mob31052_Kill')
RegisterUnitEvent(31052, 4, 'mob31052_Die')
